Skip to content

Bump django-ninja from 1.4.3 to 1.6.2#3282

Open
dependabot[bot] wants to merge 1 commit intomainfrom
dependabot/pip/django-ninja-1.6.2
Open

Bump django-ninja from 1.4.3 to 1.6.2#3282
dependabot[bot] wants to merge 1 commit intomainfrom
dependabot/pip/django-ninja-1.6.2

Conversation

@dependabot
Copy link
Copy Markdown
Contributor

@dependabot dependabot Bot commented on behalf of github Apr 21, 2026

Bumps django-ninja from 1.4.3 to 1.6.2.

Release notes

Sourced from django-ninja's releases.

1.6.2

What's Changed

New Contributors

Full Changelog: vitalik/django-ninja@v1.6.1...v1.6.2

1.6.1

What's Changed

Full Changelog: vitalik/django-ninja@v1.6.0...v1.6.1

1.6.0

What's New

Idempotent Router(s)

Routers are now reusable and can be mounted to multiple APIs or multiple times within the same API. Decorators, auth, tags, and throttle settings are fully isolated between mounts.

router = Router(tags=["shared"])
@​router.get("/items")
def list_items(request):
return [{"id": 1}]
Mount same router to multiple APIs
api_v1 = NinjaAPI(urls_namespace="v1")
api_v1.add_router("/", router)
api_v2 = NinjaAPI(urls_namespace="v2")
api_v2.add_router("/", router) # !!! Before this was giving an error

Cursor Pagination

New CursorPagination class for stable pagination over frequently changing datasets. Uses base64-encoded cursor tokens instead of offsets, ensuring consistent results even when items are added or removed.

from ninja.pagination import paginate, CursorPagination
@​api.get("/events", response=list[EventSchema])
@​paginate(CursorPagination, ordering=("-created",), page_size=20)
def list_events(request):
return Event.objects.all()

... (truncated)

Commits

@dependabot dependabot Bot added dependencies Pull requests that update a dependency file python Pull requests that update Python code labels Apr 21, 2026
@dependabot dependabot Bot force-pushed the dependabot/pip/django-ninja-1.6.2 branch from 0597e0d to f558529 Compare April 21, 2026 16:31
Bumps [django-ninja](https://github.com/vitalik/django-ninja) from 1.4.3 to 1.6.2.
- [Release notes](https://github.com/vitalik/django-ninja/releases)
- [Commits](vitalik/django-ninja@v1.4.3...v1.6.2)

---
updated-dependencies:
- dependency-name: django-ninja
  dependency-version: 1.6.2
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot force-pushed the dependabot/pip/django-ninja-1.6.2 branch from f558529 to 25e0655 Compare April 21, 2026 17:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file python Pull requests that update Python code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants